/**
 * 主观案例
 */
import http from '@/common/vmeitime-http/interface'

/**
 * 将业务所有接口统一起来便于维护
 * 如果项目很大可以将 url 独立成文件，接口分成不同的模块
 * 
 */

/**
 * 主观案例 类型接口
 */
export const zgal = (data)=>{
	return http.get('index.php/home/index/zgal',
	    data)
}
/**
 * 按科目查询教师
 */
export const l_teacher = (data)=>{
	return http.get('index.php/home/index/l_teacher',
	    data)
}
/**
 * 按教师查询试题
 */
export const l_que_list_by_tea = (data)=>{
	return http.get('index.php/home/index/l_que_list_by_tea',
	    data)
}
/**
 * 按教师查询试题分页
 */
export const l_que_list_by_tea_page = (data)=>{
	return http.get('index.php/home/index/l_que_list_by_tea_page',
	    data)
}
/**
 * 查询可批改的老师
 */
export const tea_pd_zgal = (data)=>{
	return http.get('index.php/home/index/tea_pd_zgal',
	    data)
}
/**
 * 主观案例 查询既往本人答题
 */
export const brst = (data)=>{
	return http.get('index.php/home/index/brst',
	    data)
}
export const brst_info = (data)=>{
	return http.get('index.php/home/index/brst_info',
	    data)
}

// 默认全部导出  import api from '@/common/vmeitime-http/'
export default {
	zgal,
	l_teacher,
	l_que_list_by_tea,
	l_que_list_by_tea_page,
	tea_pd_zgal,
	brst,
	brst_info
}